import { request } from '../request';
import { Api }  from '@/typings/api';
/** 上传文件 */
export function fetchUpload(data?: Api.User.UserList) {
  return request<Api.User.UserList>({
    url: '/api/editor/upload',
    method: 'post',
    data
  });
}
